# uncompyle6 version 3.2.3
# Python bytecode 3.6 (3379)
# Decompiled from: Python 3.6.8 |Anaconda custom (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)]
# Embedded file name: helpers\hashing\rand.py
__author__ = "Attila Gerendi (Sanyi)"
import random, string

ascii_lower_upper_digits = (
    string.ascii_lowercase + string.ascii_uppercase + string.digits
)
ascii_lower_digits = string.ascii_lowercase + string.digits
ascii_upper_digits = string.ascii_uppercase + string.digits


def get_random_string(l, charset=ascii_lower_upper_digits):
    return ("").join((random.choice(charset) for _ in range(l)))


def get_random_lower_case_digits_string(l, charset=ascii_lower_digits):
    return ("").join((random.choice(charset) for _ in range(l)))
